package com.xmg.design23.d1_factory.abstrac;

import com.xmg.design23.d1_factory.simple.Apple;
import com.xmg.design23.d1_factory.simple.Fruit;

/**
 * @Author: mazhongqing
 * @Date: 2021/3/24 15:19
 */
public class AppleFactory implements IFactory {
    @Override
    public Fruit create() {
        return new Apple();
    }
}
